package com.example.ezexcel.pojo.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

@Data
public class QuestionData implements Serializable {
    private Long id;

    //题库名称
    private String questionBankName;

    //序号
    @ExcelProperty(index = 1)
    private String num;


    @ExcelProperty("工种")
    private String workType;

    @ExcelProperty("评价维度")
    private String evaluationDimension;

    @ExcelProperty("维度分类")
    private String dimensionCategory;

    @ExcelProperty(index = 4)
    private String evaluationCapability;
    //评价等级
    @ExcelProperty(index = 5)
    private String evaluationLevel;

    @ExcelProperty("评价模块名称")
    private String evaluationModuleName;
    //知识点/技能点名称
    @ExcelProperty(index = 8)
    private String knowledgeSkillPointName;
    ///考核点名称
    @ExcelProperty(index = 10)
    private String assessmentPoint;

    @ExcelProperty("题型")
    private String questionType;

    @ExcelProperty("题干\n(试题正文)")
    private String questionContent;



    @ExcelProperty("试题选项")
    private String questionOptions;

    @ExcelProperty("试题答案/分值占比")
    private String questionAnswer;

    @ExcelProperty("试题属性")
    private String questionAttribute;

    @ExcelProperty("难度系数\n（难度）")
    private String difficultyLevel;

    @ExcelProperty("答案解析")
    private String answerAnalysis;

    @ExcelProperty("依据出处")
    private String referenceSource;



//    // 静态变量存储列索引
//    private static int evaluationCapabilityNameIndex;
//    private static int evaluationCapabilityLevelIndex;
//
//    // 实例变量存储列数据
//    //评价能力名称
//    private String evaluationCapabilityName;
//    //评价等级
//    private String evaluationCapabilityLevel;
//
//    // 省略其他实例变量和方法
//
//    // 静态方法设置列索引
//    public static void setEvaluationCapabilityNameIndex(int index) {
//        QuestionData.evaluationCapabilityNameIndex = index;
//    }
//
//    public static void setEvaluationCapabilityLevelIndex(int index) {
//        QuestionData.evaluationCapabilityLevelIndex = index;
//    }
//
//    // 静态方法获取列索引
//    public static int getEvaluationCapabilityNameIndex() {
//        return evaluationCapabilityNameIndex;
//    }
//
//    public static int getEvaluationCapabilityLevelIndex() {
//        return evaluationCapabilityLevelIndex;
//    }





    // Getters and Setters for all the fields
    // ...


}
